<link type="text/css" rel="stylesheet" href="<{$config.weburl}>/module/product/templates/pro.css">
<div class="w" style=" width: 1200px;  margin: 20px auto 20px auto;">
    <div class="comment">
    	<h3>对产品进行评价</h3>
    	<{foreach item=list key=n from=$pro}>
        <ul>
        	<li class="product">产品</li>
            <li>好评</li>
            <li>中评</li>
            <li>差评</li>
        </ul>
        <form method="post">
        <div class="comment_con">
        	<div class="left">
            	<div class="img">
                    <a target="_blank" href="<{$config.weburl}>/?m=product&s=detail&id=<{$list.product_id}>">
                    <{if $list.pic}>
                    	<img height="110" src="<{$list.pic}>" width="110" />
                    <{else}>
                    	<img height="110" src="image/default/nopic.gif" width="110" />
                    <{/if}>
                    </a>
                </div>
                <p class="p-name"><a target="_blank" href="<{$config.weburl}>/?m=product&s=detail&id=<{$list.id}>"><{$list.name}></a></p>
            </div>
        	<div class="right">
            	<table align="top" width="100%">
                	<tr>
                    	<td width="66"><input type="radio" name="g<{$n}>" id="good" value="1" checked="checked" /><label for="good"><img src="<{$config.weburl}>/image/default/good.gif" /></label></td>
                    	<td width="66"><input type="radio" name="g<{$n}>" id="middle" value="0" /><label for="middle"><img src="<{$config.weburl}>/image/default/middle.gif" /></label></td>
                    	<td><input type="radio" name="g<{$n}>" id="bad" value="-1" /><label for="bad"><img src="<{$config.weburl}>/image/default/bad.gif" /></label></td>
                    </tr>
                </table>
                <div class="comment_text"><textarea name="comment_text<{$n}>"></textarea></div>    
            </div>
            <div class="clear"></div>
        </div>
        <{/foreach}>
        <input type="hidden" name="submit" value="submit" />
        <div class="div_btn"><input class="btn" type="submit" value="提交评论" /></div>
		</form>
    </div>
    
</div>